﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="MyPage.aspx.cs" Inherits="Default3" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .appBar{
            background: none repeat scroll 0 0 white;
            border-bottom: 1px solid #DEDEDE;
            border-top: 1px solid #DEDEDE;
            height: 57px;
            min-width: 980px;
            position: relative;
            width: 100%; 
            padding:0px 40px;
        }
        .grayText1
        {
            color: #999;
            font-size: 13px;         
            position: absolute;           
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .style2
        {
            width:20%;
        }
         .style1
        {
            width:50%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="headerBar" Runat="Server">
    <div class="appBar" >
        <span style="height:100%; padding-top:17px; vertical-align:middle; color: #DD4B39; font: 20px 'Arial'; display:inline-block; margin-top:">Tài khoản</span>
        <span class="grayText1" style="   margin-left: 149px;  top: 23px;" >Tài khoản</span>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="aside1" Runat="Server">
    <div style="width:100%; text-align:center">       
        <img id="imgAvarta" runat="server" alt="" src="" style="background-origin: content-box;display: inline-block;height: 100px;padding: 3px;width: 100px;" class="imageBtn" />
        <h4 runat="server" style="margin-bottom:10px;">tendangnhap</h4>
        <asp:Button class="btnType1" ID="btnCapNhat" style="width:100%; " 
            runat="server" Text="Cập nhật tất cả" meta:resourcekey="btnCapNhatResource1" />
    </div>
    <ul class="leftMenuStyle1" runat="server" id="menuTaiKhoan">
        <li onmouseover="changeChildStyle(this,'span','ogrance');changeChildStyle(this,'ul','childLi');"  onmouseout="changeChildStyle(this,'span','');changeChildStyle(this,'ul','hide');"  >
            <span></span>
            <asp:HyperLink style="background-image: url('Icons/inbox_24.png');changeChildStyle(this,'ul','childLi'); " 
                ID="HyperLink1" runat="server" meta:resourcekey="HyperLink1Resource1">Tài khoản của tôi</asp:HyperLink>
            <ul class="hide">
                <li><asp:Button ID="btnThongTinCaNhan" style="" runat="server" 
                        Text="Thông tin cá nhân" meta:resourcekey="btnThongTinCaNhanResource1"/></li>
                <li><asp:Button ID="HyperLink11" style="" runat="server" Text="Thông tin bán hàng" 
                        meta:resourcekey="HyperLink11Resource1"/></li>
                <li><asp:Button ID="HyperLink12" style="" runat="server" Text="Thay đổi mật khẩu" 
                        meta:resourcekey="HyperLink12Resource1"/></li>
            </ul>
        </li>
        <li onmouseover="changeChildStyle(this,'span','ogrance');changeChildStyle(this,'ul','childLi');"  onmouseout="changeChildStyle(this,'span','');changeChildStyle(this,'ul','hide');" >
            <span></span>
            <asp:HyperLink ID="HyperLink2" 
                style="background-image: url('Icons/inbox_24.png');changeChildStyle(this,'ul','childLi'); " 
                runat="server" meta:resourcekey="HyperLink2Resource1">Tin nhắn</asp:HyperLink>
            <ul class="hide">
                <li><asp:Button ID="HyperLink13" style="" runat="server" Text="Thông báo" 
                        meta:resourcekey="HyperLink13Resource1"/></li>
                <li><asp:Button ID="HyperLink14" style="" runat="server" Text="Giao dịch" 
                        meta:resourcekey="HyperLink14Resource1"/></li>
                <li><asp:Button ID="HyperLink15" style="" runat="server" Text="Hộp thư đến" 
                        meta:resourcekey="HyperLink15Resource1"/></li>
                <li><asp:Button ID="HyperLink16" style="" runat="server" Text="Hộp thư đi" 
                        meta:resourcekey="HyperLink16Resource1"/></li>
            </ul>
        </li>
        <li onmouseover="changeChildStyle(this,'span','ogrance');changeChildStyle(this,'ul','childLi'); "  onmouseout="changeChildStyle(this,'span','');changeChildStyle(this,'ul','hide'); " >
            <span></span>
            <asp:HyperLink ID="HyperLink3" 
                style="background-image: url('Icons/inbox_24.png'); " runat="server" 
                meta:resourcekey="HyperLink3Resource1">QL Gian hàng</asp:HyperLink>
            <ul class="hide">
                <li><asp:Button ID="HyperLink7" style="" runat="server" Text="Gian hàng của tôi" 
                        meta:resourcekey="HyperLink7Resource1"/></li>
                <li><asp:Button ID="HyperLink8" style="" runat="server" Text="Tạo gian hàng" 
                        meta:resourcekey="HyperLink8Resource1"/></li>                
            </ul>
        </li>
        <li onmouseover="changeChildStyle(this,'span','ogrance');changeChildStyle(this,'ul','childLi');"  onmouseout="changeChildStyle(this,'span','');changeChildStyle(this,'ul','hide');" >
            <span></span>
            <asp:HyperLink ID="HyperLink4" 
                style="background-image: url('Icons/inbox_24.png'); " runat="server" 
                meta:resourcekey="HyperLink4Resource1">QL Sản phẩm</asp:HyperLink>
            <ul class="hide">
                <li><asp:Button ID="HyperLink9" style="" runat="server" Text="Sản phẩm của tôi" 
                        meta:resourcekey="HyperLink9Resource1"/></li>
                <li><asp:Button ID="HyperLink17" style="" runat="server" Text="Tạo sản phẩm" 
                        meta:resourcekey="HyperLink17Resource1"/></li>                
            </ul>
        </li>
        <li onmouseover="changeChildStyle(this,'span','ogrance');changeChildStyle(this,'ul','childLi');"  onmouseout="changeChildStyle(this,'span','');changeChildStyle(this,'ul','hide');" >
            <span></span>
            <asp:HyperLink ID="HyperLink5" 
                style="background-image: url('Icons/inbox_24.png'); " runat="server" 
                meta:resourcekey="HyperLink5Resource1">Theo dõi</asp:HyperLink>
            <ul class="hide">
                <li><asp:Button ID="HyperLink18" style="" runat="server" Text="Gian hàng" 
                        meta:resourcekey="HyperLink18Resource1"/></li>
                <li><asp:Button ID="HyperLink19" style="" runat="server" Text="Sản phẩm" 
                        meta:resourcekey="HyperLink19Resource1"/></li>                
            </ul>
        </li>
    </ul>
    </ul>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="aside2" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="aside3" Runat="Server">
    
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="sectionContent" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                <asp:View ID="View1" runat="server">
                    <table style="width: 100%; border:1px solid #E7EEF6;"> 
                    
                    <tr>
                        <td colspan="3" style="padding-left: 21%;">                        
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                                ValidationGroup="TaoTK" 
                                HeaderText="Đăng kí thất bại. Sửa những lỗi sau" 
                                meta:resourcekey="ValidationSummary1Resource1" />
                        </td>
                   
                    </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                        
                            &nbsp;</td>
                        <td class="style1" style="text-align:center;">
                            <img id="imgAvarta2" runat="server" class="imageBtn" 
                                style="background-origin: content-box;display: inline-block;height: 150px;padding: 3px;width: 150px;" />
                        &nbsp;</td>
                        <td class="noteRegister">
                            &nbsp;</td>
                    </tr>
                         <tr>
                             <td class="style2" style="text-align: right">
                                 Avarta</td>
                             <td class="style1">
                                 <input id="Text1" runat="server" type="text" 
                                width="200px" class="rowTextBox" />
                             &nbsp;</td>
                             <td class="noteRegister">
                                 &nbsp;</td>
                         </tr>
                         <tr>
                             <td class="style2" style="text-align: right">
                                 Tên truy cập</td>
                             <td class="style1">
                                 <input id="tbTenDangNhap" runat="server" type="text" 
                                width="200px" class="rowTextBox" />
                             &nbsp;</td>
                             <td class="noteRegister">
                                 <asp:Label ID="noteTenDangNhap1" runat="server" 
                                     meta:resourcekey="noteTenDangNhap" style="display:none;z-index:111;"></asp:Label>
                             </td>
                         </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                                runat="server" ControlToValidate="tbTen" 
                                ErrorMessage="Chưa nhập tên" 
                            
                            
                                Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                                ValidationGroup="TaoTK" 
                                meta:resourcekey="RequiredFieldValidator4Resource1"></asp:RequiredFieldValidator>
                            Họ và tên</td>
                        <td class="style1">
                        
                            <input id="tbTen" runat="server" type="text" 
                                width="200px" class="rowTextBox" />&nbsp;</td>
                        <td class="noteRegister">
                        
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" 
                                runat="server" ControlToValidate="ddNoiSinh" 
                                ErrorMessage="Chưa chọn nơi sinh" 
                            
                            
                                Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                                ValidationGroup="TaoTK" 
                                meta:resourcekey="RequiredFieldValidator5Resource1"></asp:RequiredFieldValidator>
                            Nơi sinh</td>
                        <td class="style1">
                        
                            <asp:DropDownList ID="ddNoiSinh" 
                                onmouseout="changeDisplay('ctl00_sectionContent_noteNoiSinh','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteNoiSinh','block');"
                                runat="server" meta:resourcekey="DropDownList1Resource1" Width="96%" 
                                DataSourceID="SqlDataDiaChi" DataTextField="Ten" DataValueField="IDKhuVuc">
                            </asp:DropDownList>
                            <asp:SqlDataSource ID="SqlDataDiaChi" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:vnclickerConnectionString %>" 
                                SelectCommand="SELECT * FROM [KhuVuc]">
                            </asp:SqlDataSource>
                        </td>
                        <td class="noteRegister">
                            <asp:Label ID="noteNoiSinh" runat="server" style="display:none;z-index:111;"
                                meta:resourcekey="noteNoiSinhResource"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                ControlToValidate="tbEmail" 
                                ErrorMessage="Không chấp nhận địa chỉ Email dưới" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                                ValidationGroup="TaoTK" 
                                meta:resourcekey="RegularExpressionValidator3Resource1"><span style="color:red;">*</span></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" 
                                runat="server" ControlToValidate="tbEmail" 
                                ErrorMessage="Chưa nhập Email" 
                            
                            
                                Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                                ValidationGroup="TaoTK" 
                                meta:resourcekey="RequiredFieldValidator6Resource1"></asp:RequiredFieldValidator>
                            Email</td>
                        <td class="style1">
                        
                            <input id="tbEmail" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteEmail','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteEmail','block');"
                                width="200px" class="rowTextBox" />&nbsp;</td>
                        <td class="noteRegister">
                        
                            <asp:Label ID="noteEmail" runat="server" style="display:none;z-index:111;"
                                meta:resourcekey="noteEmailResource1"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                                ControlToValidate="tbMobile" 
                                ErrorMessage="Không chấp nhận số điện thoại dưới" 
                                ValidationExpression="[0+]\d{8,11}" ValidationGroup="TaoTK" 
                                meta:resourcekey="RegularExpressionValidator4Resource1"><span 
                                style="color:red;">*</span></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" 
                                runat="server" ControlToValidate="tbMobile" 
                                ErrorMessage="Chưa nhập số ĐT" 
                            
                            
                                Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                                ValidationGroup="TaoTK" 
                                meta:resourcekey="RequiredFieldValidator7Resource1"></asp:RequiredFieldValidator>
                            Điện thoại</td>
                        <td class="style1">
                        
                            <input id="tbMobile" runat="server" type="text"    onmouseout="changeDisplay('ctl00_sectionContent_noteMobile','none');" 
                                onmouseover="changeDisplay('ctl00_sectionContent_noteMobile','block');" 
                                width="200px" class="rowTextBox" />&nbsp;</td>
                        <td class="noteRegister">                        
                            <asp:Label ID="noteMobile" runat="server" style="display:none;z-index:111;"
                                meta:resourcekey="noteMobile"></asp:Label></td></td>
                    </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                            Mã an toàn</td>
                        <td class="style1">
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                <ContentTemplate>                        
                                    <asp:Image ID="ImageCapCha" Height="50px" Width="100px" runat="server" 
                                        ImageUrl="ImageCapcha.aspx" meta:resourcekey="ImageCapChaResource1" />
                                    <asp:ImageButton ID="btnRefreshCapcha"                                 
                                        runat="server" 
                                        style="display:inline-block; margin-bottom:9px; margin-left:5px; " 
                                        Height="30px" Width="30px"
                                        ImageUrl="<%$ Resources:Images, refreshCapcha %>" onclick="refreshCapcha" meta:resourcekey="btnRefreshCapchaResource1" 
                                        ></asp:ImageButton>    
                                    &nbsp;</td>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:PostBackTrigger ControlID="btnRefreshCapcha" />
                                </Triggers>
                            </asp:UpdatePanel> 
                        <td class="noteRegister">
                        
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: right" class="style2">
                            <asp:CustomValidator ID="CustomValidator1" runat="server" 
                                ErrorMessage="Nhập mã an toàn không chính xá" 
                                ControlToValidate="tbMaAnToan" 
                                onservervalidate="CustomValidator1_ServerValidate" ValidationGroup="TaoTK" 
                                ValidateEmptyText="True" meta:resourcekey="CustomValidator1Resource1"><span style="color:red;">*</span></asp:CustomValidator>
                            Nhập mã an toàn</td>
                        <td class="style1">
                        
                            <input id="tbMaAnToan" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteMaAnToan','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteMaAnToan','block');"
                                width="200px" class="rowTextBox" />&nbsp;</td>
                        <td class="noteRegister">                        
                            <asp:Label ID="noteMaAnToan" runat="server" style="display:none;z-index:111;"
                                meta:resourcekey="noteMaAnToanResource1"></asp:Label></td>
                    </tr>
                    </table>
                </asp:View>
                <asp:View ID="View2" runat="server">
                    saddsadas
                </asp:View>
            </asp:MultiView>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="asize5" Runat="Server">
</asp:Content>

